.navbar {
    background-color: #0066cc;
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    z-index: 99;
}

.logo {
    display: inline-flex;
    align-items: center;
    margin-right: 50px;
}

.menu-list li {
    display: inline-block;
}

.menu-list li a {
    color: #fff;
}

.menu-item {
    width: 109px;
    height: 120px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 16px;
}

.menu-active {
    color: #03e7ee !important;
    background-color: #0181d3;
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 5px;
    width: 0;
    background-color: #03e7ee;
    transition: all .3s ease-in-out;
}

.menu-item:hover {
    background-color:#0181d3;
    position: relative;
    color: #03e7ee;
}

.menu-item:hover:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background-color: #03e7ee;
    transition: all .3s ease-in-out;
}

.sub-menu-list {
    display: flex;
    z-index: 2;
    position: absolute;
    top: 120px;
    right: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    height: 69px;
    background: rgba(0, 102, 204, .5);
    transform-origin: 50% 0;
    transform: perspective(1920px) rotateX(-90deg);
    transition: all .3s ease-in-out;
    visibility: hidden;
}

.sub-menu-item {
    margin: 0 20px;
    display: block;
    height: 100%;
}

.sub-menu-item:hover {
    color: #03e7ee;
}

.menu-item:hover + .sub-menu-list, .sub-menu-list:hover {
    transform: perspective(1920px) rotateX(0deg);
    visibility: visible;
}
